import request from '@/utils/request'

// 查询工艺要点申请列表
export function listTechnologyExamine(query) {
  return request({
    url: '/showcase_1580/technologyExamine1580/list',
    method: 'get',
    params: query
  })
}

// 查询工艺要点申请详细
export function getTechnologyExamine(id) {
  return request({
    url: '/showcase_1580/technologyExamine1580/' + id,
    method: 'get'
  })
}

// 新增工艺要点申请
export function addTechnologyExamine(data) {
  return request({
    url: '/showcase_1580/technologyExamine1580',
    method: 'post',
    data: data
  })
}

// 修改工艺要点申请
export function updateTechnologyExamine(data) {
  return request({
    url: '/showcase_1580/technologyExamine1580',
    method: 'put',
    data: data
  })
}

// 删除工艺要点申请
export function delTechnologyExamine(id) {
  return request({
    url: '/showcase_1580/technologyExamine1580/' + id,
    method: 'delete'
  })
}
